<?php $this->_extends('_layouts/blank_layout'); ?>

<?php $this->_block('title'); ?> - 操作报告<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

	<div id="getting-started" alt="操作报告">
	  <table>
		<tr><th>日期</th><th>用户名</th><th>用户类型</th><th>IP地址</th><th>操作</th></tr>
		<?php foreach ($oplogs as $s): ?>
		<tr>
		<td><?php echo $s->acttime;?></td>
		<td><?php echo $s->username;?></td>
		<td><?php echo $s->usertype;?></td>
		<td><?php echo $s->ipaddr;?></td>
		<td><?php echo $s->operate;?></td>
		</tr>
		<?php endforeach; ?>
		<tr>
      <td colspan="5"><center><input id="startd" type="hidden" value="<?php echo $startd;?>"><input id="endd" type="hidden" value="<?php echo $endd;?>">
       共有 <font color="Red"><?php echo $pager['record_count'];?></font> 条记录,分为 <font color="Red"><?php echo $pager['page_count'];?></font> 页显示,当前第 <font color="Red"><?php echo $pager['current'];?></font>页,每页 <font color="Red"><?php echo $pager['page_size'];?></font> 条<?php echo $pagestr; ?></center>
    </td>
    </tr>
	  </table>    
	</div>

<?php $this->_endblock('contents'); ?>